package org.example.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
@Data
public class Post implements Serializable {
    //帖子标题
    private String title;
    //用户姓名
    private String name;
    //点赞个数
    private Long praise;
    //图片
    private String image;

   @TableField(fill = FieldFill.INSERT)
   private LocalDateTime createTime;
}
